package com.darren.euc.dao;

import java.util.List;

import com.darren.euc.entity.Role;



public interface RoleDao extends BaseDao<Role,Integer>{
	
    public List<Role> getAll();   
    
    public List<Role> getRoleType(); 
    
    public List<Role> getRoleByRoleName(String roleName);
    
    public List<Role> getRoleByRoleNameExcludeCurrentId(String roleName,Integer roleId);
    
    public int deleteRoleFunctionByRoleId(Integer roleId);
    
}